CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(MMOServer)
SET(MMOSERVER_VERSION_MAJOR 1)
SET(MMOSERVER_VERSION_MINOR 0)

# does this system provide the div function?
# INCLUDE(CheckFunctionExists.cmake)
# CHECK_FUNCTION_EXISTS(div HAVE_DIV)

CONFIGURE_FILE("mmosdk/mmoconfig.h.in" "mmosdk/mmoconfig.h")

ADD_SUBDIRECTORY(mmosdk lib)
ADD_SUBDIRECTORY(testserver bin)

